<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <h2>模块化-ES module</h2>
</body>
<script type="module">
    import cfff,{ jia, cheng } from './utils/tools.js';
   // import cf from './utils/tools.js'
     console.log(jia(1, 2))
     console.log(cheng(2, 5))
     console.log(cfff(20,5))
</script>

</html>